package com.paiai.lslease.service.appuser;

import com.paiai.lslease.auto.model.AppMessageCode;
import com.paiai.lslease.auto.model.AppMessageCodeExample;

import java.sql.SQLException;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;

public interface AppMessageCodeService {
    /**
     * 获取验证码
     */
    String getMessageCode(String userAccount) throws Exception;

    /**
     * 验证验证码是否正确
     */
    String checkMessageCode(AppMessageCode appMessageCode) throws Exception;

}
